package com.enjoyor.soa.traffic.api.service.dubbo.dvams;

import com.enjoyor.soa.traffic.api.dto.dvams.WeatherDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

/**
 * 时间操作
 */

public interface DubboWeatherService {

    /**
     * 天气列表查询
     * 
     * @param startTime
     * @param endTime
     * @return
     */
    public ResultPojo listWeather(String token, String systemkey, String startTime, String endTime);

    /**
     * 天气分页查询
     * 
     * @param startTime
     * @param endTime
     * @return
     */
    @SuppressWarnings("rawtypes")
    public ResultPojo pageWeather(String token, String systemkey, String startTime, String endTime, Page page);

    /**
     * 保存天气信息
     * 
     * @param weatherDto
     * @return
     */
    public ResultPojo saveWeather(String token, String systemkey, WeatherDto weatherDto);

    /**
     * 编辑天气信息
     * 
     * @param weatherDto
     * @return
     */
    public ResultPojo updateWeather(String token, String systemkey, WeatherDto weatherDto);

    /**
     * 删除天气信息
     * 
     * @param weatherId
     * @return
     */
    public ResultPojo deleteWeather(String token, String systemkey, String weatherId);

}
